/**
 * Created with IntelliJ IDEA.
 * Description:
 * user:likai
 * Date:2022-10-17
 * Time:16:20
 */
public class Test {
    public static void main(String[] args) {
        MyLinkList myLinkList=new MyLinkList();
        //myLinkList.create();
        myLinkList.addFirst(3);
        myLinkList.addFirst(3);
        myLinkList.addLast(3);
        //myLinkList.display();
       //System.out.println("长度:"+myLinkList.size());
        myLinkList.addIndex(3,3);
        //myLinkList.display();
        //myLinkList.remove(1);
        //myLinkList.display();
        //myLinkList.remove(3);
        myLinkList.clear();
        //myLinkList.remove(3);
        myLinkList.display();
    }
}
